<template>
  <div>
    <el-page-header @back="goBack" style="margin-bottom: 10px;"/>
    <ArticleEditor @publishSuccess="goBack"/>
  </div>
</template>

<script>
import ArticleEditor from '@/components/ArticleEditor'

export default {
  name: "ArticleEdit",
  components:{
    ArticleEditor
  },
  methods:{
    goBack(){
      this.$router.go(-1)
    }
  }
}
</script>

<style scoped>
 >>> .el-row {
    margin-bottom: 10px;
  }
</style>
